home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
PWAPCP02.ZIP
/
ARCHIE
/
ARCHIE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-11-15
|
2KB
|
165 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Boolean BOOLEAN003
Boolean BOOLEAN004
Boolean BOOLEAN005
Date DATE001
Integer INTEGER001
Integer INTEGER002
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
;------------------------------------------------------------------------------
Cls
INTEGER002 = 0
BOOLEAN003 = 0
BOOLEAN004 = 0
FOpen 1, PPEPath() + "ARCHIE.CFG", 0, 0
FGet 1, INTEGER001
FGet 1, STRING008
FGet 1, STRING009
FClose 1
PrintLn "@X0FARCHIE by Email - Version .20b"
PrintLn "Registered to: " + STRING008
PrintLn "Sysop: " + STRING009
PrintLn
Wait
PrintLn
PrintLn "@X0FPlease enter the following information for the filenames you wish to"
PrintLn "search for.@X07"
:LABEL001
If (BOOLEAN003) Goto LABEL002
Input "Enter the string to search for", STRING001
If (STRING001 == "") Then
PrintLn
PrintLn "Please enter a search string!"
PrintLn
INTEGER002 = INTEGER002 + 1
If (INTEGER002 >= 4) Then
PrintLn "too many trys - aborting!!!!"
BOOLEAN003 = 1
BOOLEAN004 = 1
Endif
Else
BOOLEAN003 = 1
Endif
Goto LABEL001
:LABEL002
STRING007 = "Y"
If (BOOLEAN004) Goto LABEL003
BOOLEAN005 = 1
PrintLn
Print "Creating ARCHIE request...."
STRING006 = PPEPath() + "ATEMP" + String(PcbNode()) + ".TMP"
FCreate 1, STRING006, 1, 3
STRING002 = U_Name()
STRING004 = "archie@archie.rutgers.edu"
STRING003 = " "
STRING005 = "R"
BOOLEAN001 = 0
BOOLEAN002 = 1
DATE001 = Date() + 3
If (BOOLEAN005) Then
FPutLn 1, "set search sub"
Else
FPutLn 1, "set search exact"
Endif
FPutLn 1, "find ", STRING001
FPutLn 1, "quit"
FClose 1
PrintLn "Done!"
STRING007 = "Y"
InputYN "Do you want to send this request (Y/N)", STRING007, 15
If (STRING007 == "Y") Then
PrintLn
PrintLn "Request sent!"
Message INTEGER001, STRING004, STRING002, STRING003, STRING005, DATE001, BOOLEAN001, BOOLEAN002, STRING006
Else
PrintLn
PrintLn "Request Aborted!"
Endif
:LABEL003
PrintLn
PrintLn "Returning back to BBS"
PrintLn
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 1 Wait
; 10 Goto
; 18 Let
; 1 Print
; 20 PrintLn
; 6 If
; 1 Input
; 1 FCreate
; 1 FOpen
; 2 FClose
; 3 FGet
; 4 FPutLn
; 1 InputYN
; 1 Message
;
;
; ■ Functions used :
;
; 8 +
; 2 ==
; 1 >=
; 6 !
; 1 Date()
; 1 U_Name()
; 1 String()
; 2 PPEPath()
; 1 PcbNode()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 4 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------